import request from '_r/request'

const api_name = 'fileTransfer'

// 获取存储占用
export function getStorage(data) {
	return request({
		url: `${api_name}/getStorage`,
		method: 'get',
		params: data
	})
}

// 文件预览
export function getFilePreview(data) {
	return request({
		url: `${api_name}/preview`,
		method: 'get',
		params: data
	})
}
